<?php
//system管理
Route::group(array('namespace'=>'Admin\System','prefix' => 'system'), function(){

    Route::post('/upload','FileController@upload');
    Route::post('/upload_icon','FileController@upload_icon');

    Route::get('/','IndexController@index');

    Route::get('/password','ConfigController@password');
    Route::patch('/password/update_password','ConfigController@update_password');
    Route::get('/edit','ConfigController@edit');
    Route::put('/update/{system}','ConfigController@update');
    Route::get('/clear_cache','ConfigController@clear_cache');

});